<template>
  <div>
    <div v-for="item in goodsList" :key="item.id">
      <van-card num="2" price="2.00" :title="item.proname" :thumb="item.img2">
        <template #price>
          <span style="color: red; font-size: 15px"
            >￥{{ item.originprice | formaPrice }}</span
          >
        </template>
        <template #num>
          <van-stepper theme="round" button-size="22" :min="1" disable-input />
        </template>
      </van-card>
    </div>
  </div>
</template>

<script>
export default {
  name: 'listitem',
  data () {
    return {}
  },

  props: {
    source: {
      type: Object,
      default: () => {}
    },
    goodsList: {
      type: Array
    }
  },
  methods: {}
}
</script>

<style lang="scss" scoped></style>
